import request from '@/api'

const userService = {
  getUserInfo: (data) => {
  return request.get('/getInfo', data)
},
captchaImage: () => {
  return request.get('/captchaImage')
},
  login: (data) => {
  return request.post('/login', data)
},
  register: (data) => {
  return request.post('/register', data)
},
  updatePwd: (data) => {
  return request.put('/system/user/profile/updatePwd', data)
},
}

export default userService
